- getSequencerTx(input: {
funcInput: Partial<BuyInput>;
contract: string;
state?: State;
}): Promise<{
contract: string;
funcInput: {
txId: any;
function?: "buy";
positionType?: "support" | "oppose";
price?: number;
fee?: number;
qty?: number;
};
state?: State;
}>
-
Parameters
-
input: {
funcInput: Partial<BuyInput>;
contract: string;
state?: State;
}
-
funcInput: Partial<BuyInput>
-
contract: string
-
Optional
state?: State
Returns Promise<{
contract: string;
funcInput: {
txId: any;
function?: "buy";
positionType?: "support" | "oppose";
price?: number;
fee?: number;
qty?: number;
};
state?: State;
}>